<template>
  <div>

    <!-- 需求：  选择城市： 广州  深圳   福州  -->
    <el-dropdown>
      <span>选择城市</span>
      <template #dropdown>
        <el-dropdown-menu>
          <el-dropdown-item @click.native="cityClick">广州</el-dropdown-item>
          <el-dropdown-item>深圳</el-dropdown-item>
          <el-dropdown-item>福州</el-dropdown-item>
        </el-dropdown-menu>
      </template>
    </el-dropdown>

  </div>
</template>
<script>
export default {
  methods: {
    cityClick() {
      console.log('cityClick')
    }
  }
}
</script>
<style>
</style>
